/**
 * Copyright(c)2012 Beijing PeaceMap Co.,Ltd.
 * All right reserved. 
 */
package com.pmc.dwa.security.model;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @description 
 * @author aokunsang
 * @date 2013-1-6
 */
public class TUser implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String id;
	private String username;
	private String password;
	private String comments;
	private Integer login_count;
	private String last_loginip;
	private Timestamp last_logintime;
	private Timestamp reg_time;
	private Timestamp upt_time;
	private String userno;
	private String truename;
	private String mobileno;
	private String unittel;
	private String hometel;
	private String email;
	private String addr;
	private Byte status;
	
	private TSection section;
	private List<TRole> userRoles;
	private String password_base64;
	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the comments
	 */
	public String getComments() {
		return comments;
	}
	/**
	 * @param comments the comments to set
	 */
	public void setComments(String comments) {
		this.comments = comments;
	}
	/**
	 * @return the login_count
	 */
	public Integer getLogin_count() {
		return login_count;
	}
	/**
	 * @param loginCount the login_count to set
	 */
	public void setLogin_count(Integer loginCount) {
		login_count = loginCount;
	}
	/**
	 * @return the last_loginip
	 */
	public String getLast_loginip() {
		return last_loginip;
	}
	/**
	 * @param lastLoginip the last_loginip to set
	 */
	public void setLast_loginip(String lastLoginip) {
		last_loginip = lastLoginip;
	}
	
	/**
	 * @return the userno
	 */
	public String getUserno() {
		return userno;
	}
	/**
	 * @param userno the userno to set
	 */
	public void setUserno(String userno) {
		this.userno = userno;
	}
	/**
	 * @return the truename
	 */
	public String getTruename() {
		return truename;
	}
	/**
	 * @param truename the truename to set
	 */
	public void setTruename(String truename) {
		this.truename = truename;
	}
	/**
	 * @return the mobileno
	 */
	public String getMobileno() {
		return mobileno;
	}
	/**
	 * @param mobileno the mobileno to set
	 */
	public void setMobileno(String mobileno) {
		this.mobileno = mobileno;
	}
	/**
	 * @return the unittel
	 */
	public String getUnittel() {
		return unittel;
	}
	/**
	 * @param unittel the unittel to set
	 */
	public void setUnittel(String unittel) {
		this.unittel = unittel;
	}
	/**
	 * @return the hometel
	 */
	public String getHometel() {
		return hometel;
	}
	/**
	 * @param hometel the hometel to set
	 */
	public void setHometel(String hometel) {
		this.hometel = hometel;
	}
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
	/**
	 * @return the addr
	 */
	public String getAddr() {
		return addr;
	}
	/**
	 * @param addr the addr to set
	 */
	public void setAddr(String addr) {
		this.addr = addr;
	}
	/**
	 * @return the status
	 */
	public Byte getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(Byte status) {
		this.status = status;
	}
	/**
	 * @return the userRoles
	 */
	public List<TRole> getUserRoles() {
		return userRoles;
	}
	/**
	 * @param userRoles the userRoles to set
	 */
	public void setUserRoles(List<TRole> userRoles) {
		this.userRoles = userRoles;
	}
	/**
	 * @return the section
	 */
	public TSection getSection() {
		return section;
	}
	/**
	 * @param section the section to set
	 */
	public void setSection(TSection section) {
		this.section = section;
	}
	/**
	 * @return the last_logintime
	 */
	public Timestamp getLast_logintime() {
		return last_logintime;
	}
	/**
	 * @param lastLogintime the last_logintime to set
	 */
	public void setLast_logintime(Timestamp lastLogintime) {
		last_logintime = lastLogintime;
	}
	/**
	 * @return the reg_time
	 */
	public Timestamp getReg_time() {
		return reg_time;
	}
	/**
	 * @param regTime the reg_time to set
	 */
	public void setReg_time(Timestamp regTime) {
		reg_time = regTime;
	}
	/**
	 * @return the upt_time
	 */
	public Timestamp getUpt_time() {
		return upt_time;
	}
	/**
	 * @param uptTime the upt_time to set
	 */
	public void setUpt_time(Timestamp uptTime) {
		upt_time = uptTime;
	}
	/**
	 * @return the password_base64
	 */
	public String getPassword_base64() {
		return password_base64;
	}
	/**
	 * @param passwordBase64 the password_base64 to set
	 */
	public void setPassword_base64(String passwordBase64) {
		password_base64 = passwordBase64;
	}
}
